package com.realestate.common;

/**
 * This is the Master Transfer object class. Pass action and data object in
 * controllers and delegates
 * 
 * @author sri
 * 
 */
public class ServiceObject {

	private String action;

	private Object dataObject;

	/**
	 * @return the action
	 */
	public String getActionMode() {
		return action;
	}

	/**
	 * @param action
	 *            the action to set
	 */
	public void setActionMode(String action) {
		this.action = action;
	}

	/**
	 * @return the dataObject
	 */
	public Object getDataObject() {
		return dataObject;
	}

	/**
	 * @param dataObject
	 *            the dataObject to set
	 */
	public void setDataObject(Object dataObject) {
		this.dataObject = dataObject;
	}

}
